[NTG-context] Adjust width of section part of table of contents

2023-09-04 Thread Jeroen
=no] \setuplist [section] [alternative=d] \placecontent ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] Re: Not getting a page break in the ToC

2023-08-22 Thread Hans Hagen via ntg-context
ntents, using what is recommended at https://wiki.contextgarden.net/Table_of_Contents#Forced_Page_Break However, it does not work. Here's a MWE: \definelistextra[page][before=\page] \starttext \starttitle[title={Table of contents}] \placecontent[extras={2=page}] \stoptitle \startchapter[title=

[NTG-context] Re: Not getting a page break in the ToC

2023-08-22 Thread Andres Conrado Montoya
d at > https://wiki.contextgarden.net/Table_of_Contents#Forced_Page_Break > > However, it does not work. Here's a MWE: > > \definelistextra[page][before=\page] > \starttext > \starttitle[title={Table of contents}] > \placecontent[extras={2=page}] > \stoptitle > \startcha

[NTG-context] Not getting a page break in the ToC

2023-08-21 Thread Andres Conrado Montoya
I'm trying to force a page break in a table of contents, using what is recommended at https://wiki.contextgarden.net/Table_of_Contents#Forced_Page_Break However, it does not work. Here's a MWE: \definelistextra[page][before=\page] \starttext \starttitle[title={Table of contents}] \placecontent

Re: [NTG-context] alternative en TOC

2022-10-06 Thread Horacio Suárez via ntg-context
[A7,landscape] \setuplist[alternative=c] \setuplist[subsection][alternative=d] \starttext \placecontent \hairline \section{Section} \subsection{Subsection} \subsubsection{Subsubsection} \stoptext Check if your braces/brackets are r

Re: [NTG-context] alternative en TOC

2022-10-06 Thread Henning Hraban Ramm via ntg-context
Am 06.10.22 um 15:24 schrieb Horacio Suárez via ntg-context: Not working, besides "[alternative=d]" apears on top of the first pdf page. This works for me: \setuppapersize[A7,landscape] \setuplist[alternative=c] \setuplist[subsection][alternative=d] \starttext \placecontent

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-20 Thread Wolfgang Schuster via ntg-context
dypart] \setuphead[chapter][color=blue] \stopsectionblockenvironment \starttext \startfrontmatter \title{Table of content} \placecontent \stopfrontmatter \startbodymatter \chapter{Knuth} \input knuth \chapter{Zapf} \input zapf \stopbodymatter \stoptext \starttext a\texttilde b\let

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-20 Thread Willi Egger via ntg-context
pter][style=\ssc] > > % Local settings for chapter in the bodymatter block > \startsectionblockenvironment[bodypart] > \setuphead[chapter][color=blue] > \stopsectionblockenvironment > > \starttext > > \startfrontmatter > > \title{Table of content} > > \

Re: [NTG-context] Metafun, difficulty with graphical element in the margin

2022-03-20 Thread Wolfgang Schuster via ntg-context
% Global settings for all chapters \setuphead[chapter][style=\ssc] % Local settings for chapter in the bodymatter block \startsectionblockenvironment[bodypart] \setuphead[chapter][color=blue] \stopsectionblockenvironment \starttext \startfrontmatter \title{Table of content} \placecontent

Re: [NTG-context] how to place getmarking[title] in header instead of getmarking[chapter]

2022-01-04 Thread fv leung via ntg-context
t before \starttitle as the source is created automatically. > > > \setupheadertexts > [text] > [{\getmarking[chapter]}] > [] > [] > [{\getmarking[chapter]}] > > \setupcombinedlist[content][list={chapter}] > \starttext > \placecontent > \startchapter > [tit

[NTG-context] how to place getmarking[title] in header instead of getmarking[chapter]

2022-01-04 Thread juh via ntg-context
[chapter]{title headline} right before \starttitle as the source is created automatically. \setupheadertexts [text] [{\getmarking[chapter]}] [] [] [{\getmarking[chapter]}] \setupcombinedlist[content][list={chapter}] \starttext \placecontent \startchapter [title=Lorem] \startsection [title=Lorem

Re: [NTG-context] \thanks inside author in section

2022-01-01 Thread Youssef Cherem via ntg-context
, > style=\bfb] > > \definenote[someothername] > > \setupnote >[someothername] >[rule=off] > > \setupnotation >[someothername] >[numberconversion=set 2] > > \setupnotation >[alternative=left, >hang=fit, > i

Re: [NTG-context] \thanks inside author in section

2022-01-01 Thread Wolfgang Schuster via ntg-context
[alternative=left, hang=fit, indenting={yes,small}, indentnext=yes] \setupinteraction [state=start, color=, contrastcolor=] \starttext \subject{Grande lista de autores} \placecontent[alternative=c] \startsection[title={Whatever}][author={A. Uthor

[NTG-context] \thanks inside author in section

2022-01-01 Thread Youssef Cherem via ntg-context
ing={yes,small},indentnext=yes, % please, indent everything, should be default ] \setupinteraction[state=start,color=black,contrastcolor=black] \setuphead[subject][align=flushleft,style=\bfb] \starttext \subject{Grande lista de autores} \placecontent[alternative=c] \startsection[title={Whatever}][a

Re: [NTG-context] Table of Contents Header?

2021-12-30 Thread kauśika via ntg-context
hapter] [alternative=interactive, command=\TOCEntry, after=\endgraf] % required The ToC along with column labels is placed with \TOCLabel{TOCNumberLabel}% \hfill\TOCLabel{TOCTitleLabel}\hfill% \TOCLabel{TOCPageLabel} \placecontent Of course, you can choose to not set the

[NTG-context] Table of Contents Header?

2021-12-30 Thread Michael Urban via ntg-context
formatted line before the \placecontent ? Or is there some more foolproof way of getting those headers into the right place? ___ If your question is of interest to others as well, please add an entry to the Wiki

[NTG-context] \thanks inside author in section

2021-12-29 Thread Youssef Cherem via ntg-context
nting={yes,small},indentnext=yes, % please, indent everything, should be default ] \setupinteraction[state=start,color=black,contrastcolor=black] \setuphead[subject][align=flushleft,style=\bfb] \starttext \subject{Grande lista de autores} \placecontent[alternative=c] \start

[NTG-context] Confusing interaction between \writetolist and bookmarks (bug?)

2021-11-22 Thread musa furber via ntg-context
\startbodymatter \chapter{Chapter ONE} \section{Section ONE} \writetolist[section]{}{Section via writetolist ONE} \chapter{Chapter TWO} \stopbodymatter \startbackmatter \chapter{Detailed Table of Contents} \placecontent[criterium=all] \stopbackmatter \stoptext ###end

Re: [NTG-context] A book with sections

2021-10-24 Thread Duncan Hothersall via ntg-context
m a \definefont >before={\setups{PartSetup}}, >command=\placePartTitle, > ] > > With \setuplayout[location=doublesided] this then comes out on the RHS. > > For the ToC, I use: > > \setuplist [alternative=b] > \setuplist [Part] > [ headnumber=no, >

Re: [NTG-context] A book with sections

2021-10-23 Thread Bruce Horrocks via ntg-context
, width=0cm, distance=0cm, style=\tocStylePartTitle, ] \setuplist [Chapter] [ headnumber=no, margin=1em, width=0cm, distance=0cm, ] \setupcombinedlist [content] [list={Part,Chapter}] then \placecontent prints the chapter tit

Re: [NTG-context] where to break a long header

2021-06-06 Thread Steffen Wolfrum
@ub.unibe.ch schrieb am 05.06.2021 um 08:16: >> \startsection[title={A very \\ long title},list={A very long title}] > > Be careful with spaces before and after \\. In the table of contents \\ is > converted to a space and in the worst case you get three spaces instead of > one. >

Re: [NTG-context] where to break a long header

2021-06-05 Thread Wolfgang Schuster
\placecontent \section{First section \\ with a line break} \section{Second section\\ with a line break} \section{Third section \\with a line break} \section{Fourth section\\with a line break} \stoptext Wolfgang

[NTG-context] Table of Content

2021-02-11 Thread Ursula Hermann
\setuplist[subject, section, subsection] \setupcombinedlist[content][list={subject,section,subsection}, alternative=c] \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \setcounter[userpage][5] \page \subject{Vorwort} \page \setupuserpagenumber[numberconversion=numbers] \setcounter

Re: [NTG-context] How to quote the section names in advance like the table of contents?

2020-11-07 Thread Sylvain Hubert
> say I have three sections in the document: > > > > \section{foo} ... \section{bar} ... \section{baz} ... > > > > Now I would like to auto generate a heavily customized table of contents > > like the following text, which cannot be done by the stock \place

Re: [NTG-context] How to quote the section names in advance like the table of contents?

2020-11-07 Thread Pablo Rodriguez
xt, which cannot be done by the stock \placecontent > in general, and put it into the preface: > >    This book has 3 sections: foo, bar, and baz. How about the following? \starttext as in \about[section-one], \about[section-two], \about[section-three]... \section[section-one]{Sect

[NTG-context] How to quote the section names in advance like the table of contents?

2020-11-07 Thread Sylvain Hubert
Dear List, say I have three sections in the document: \section{foo} ... \section{bar} ... \section{baz} ... Now I would like to auto generate a heavily customized table of contents like the following text, which cannot be done by the stock \placecontent in general, and put

Re: [NTG-context] help with forced page break in TOC

2020-10-05 Thread jbf
in contextgarden tells me to first define the break, which I have done: \definelistextra[page][before=\page] It then tells me to call this in where I \placecontent (in my case I am using my own defined \placecombined list[content]). The example given in the wiki is: \placecontent[extras={6=page

Re: [NTG-context] help with forced page break in TOC

2020-10-05 Thread Willi Egger
efore=\page] > It then tells me to call this in where I \placecontent (in my case I am using > my own defined \placecombined list[content]). The example given in the wiki > is: > > \placecontent[extras={6=page}] > But I have unnumbered items which are titles (mytitle

[NTG-context] help with forced page break in TOC

2020-10-04 Thread jbf
to first define the break, which I have done: \definelistextra[page][before=\page] It then tells me to call this in where I \placecontent (in my case I am using my own defined  \placecombined list[content]). The example given in the wiki is: \placecontent[extras={6=page}] But I have

Re: [NTG-context] How to shift unnumbered ToC entry?

2020-09-23 Thread Lukas/ConTeXt
unnumbered ToC entry? Hello Lukas, you can try this: \setuphead[subsubsection][number=no] \setuplist[subsubsection][distance=20mm,width=20mm,textcommand=\mycmd] \def\mycmd#1{\hskip20mm#1} \starttext \placecontent \page \section{S} \subsection{Ss} \subsubsection{Sss} \stoptext

Re: [NTG-context] How to shift unnumbered ToC entry?

2020-09-23 Thread Tomas Hala
Hello Lukas, you can try this: \setuphead[subsubsection][number=no] \setuplist[subsubsection][distance=20mm,width=20mm,textcommand=\mycmd] \def\mycmd#1{\hskip20mm#1} \starttext \placecontent \page \section{S} \subsection{Ss} \subsubsection{Sss} \stoptext Best wishes, Tomáš

[NTG-context] How to shift unnumbered ToC entry?

2020-09-23 Thread Lukas/ConTeXt
Hello, how do I shift unnumbered ToC entry (here: \subsubsection)? My attempt: \setuphead[subsubsection][number=no] \setuplist[subsubsection][distance=20mm,width=20mm] \starttext \placecontent \page \section{S} \subsection{Ss} \subsubsection{Sss} \stoptext I'm getting

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-06 Thread Jan Willem Flamma
makeup \stopcomponent end component  begin component\startcomponent fm-tableofcontents \product product \starttitle [title=Table of Contents] \placecontent \stoptitle \stopcomponent end component  ___ If your qu

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-04 Thread Wolfgang Schuster
component begin component \startcomponent fm-tableofcontents \product product \starttitle [title=Table of Contents] \placecontent \stoptitle \stopcomponent end component ___ If your question is of interest

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-04 Thread Jan Willem Flamma
ponent currentcomponent \product product \setupbackgrounds   [leftpage]   [setups=pagenumber:left]\setupbackgrounds   [rightpage]   [setups=pagenumber:right] % This is where I want the roman numbering to start\setuppagenumber[number=5] \starttitle[title=Table of Contents]\placec

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-03 Thread jbf
currentcomponent \product product \setupbackgrounds [leftpage] [setups=pagenumber:left] \setupbackgrounds [rightpage] [setups=pagenumber:right] % This is where I want the roman numbering to start \setuppagenumber[number=5] \starttitle[title=Table of Contents] \placecontent \stoptitle \stopcomponent

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-03 Thread Jan Willem Flamma
]\setupbackgrounds   [rightpage]   [setups=pagenumber:right] % This is where I want the roman numbering to start\setuppagenumber[number=5] \starttitle[title=Table of Contents]\placecontent\stoptitle \stopcomponent  From: jbfSent: Thursday, 3 September 2020 06:05To: mailing list

[NTG-context] TOC chapter and section numbering

2020-08-18 Thread Adrian
=1.5em,margin=3em] \starttext \title{contents} \placecontent \startchapter[title={Introductory}] \startsection[title={The concept of a function}] \stopsection \startsection[title={Extension and intension}] \stopsection \startsection[title={Functions of several variables}] \stopsection

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-13 Thread Wolfgang Schuster
][align=middle,pagestate=start,doublesided=no] \starttext \startfrontmatter \startmakeup[ToC] \placecontent \stopmakeup \chapter{Preface} \stopfrontmatter \startbodymatter \dorecurse{10}{\chapter{Foo}} \stopbodymatter \stoptext I have

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-13 Thread Nicola
n my document I actually have a chapter, and chapters start on the right page, even if I add page=no to \setuppagenumbering: \setuppagenumbering[alternative=doublesided,page=no] \definemakeup[ToC][align=middle,pagestate=start,doublesided=no] \starttext \startfrontmatter \star

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-13 Thread Nicola
agenumbering[alternative=doublesided] \definemakeup[ToC][align=middle,pagestate=start] \starttext \startfrontmatter \startmakeup[ToC] \placecontent \stopmakeup \input{knuth} \stopfrontmatter \startbodymatter \dorecurse{10}{\chapter{Foo}} \st

Re: [NTG-context] Page number 0 in Table of Contents with makeup

2020-08-11 Thread Nicola
On 2020-08-11, Pablo Rodriguez wrote: > On 8/11/20 10:11 PM, Nicola wrote: >> Consider this example: >> >> \definemakeup[toc][align=middle] >> \setuppagenumbering[alternative=doublesided] >> \starttext >> \startfrontmatter >>

Re: [NTG-context] Page number 0 in Table of Contents with makeup

2020-08-11 Thread Pablo Rodriguez
On 8/11/20 10:11 PM, Nicola wrote: > Consider this example: > > \definemakeup[toc][align=middle] > \setuppagenumbering[alternative=doublesided] > \starttext > \startfrontmatter > \startmakeup[toc] > \placecontent > \stopmakeup

[NTG-context] Page number 0 in Table of Contents with makeup

2020-08-11 Thread Nicola
Consider this example: \definemakeup[toc][align=middle] \setuppagenumbering[alternative=doublesided] \starttext \startfrontmatter \startmakeup[toc] \placecontent \stopmakeup %\setuppagenumber[number=1] \startchapter[title

Re: [NTG-context] using modeset

2020-06-11 Thread Wolfgang Schuster
[references.bookmarks.preroll] \defineselector [language] [max=2,n=1] \startmode[en] \setupselector[language][n=1] \stopmode \startmode[nl] \setupselector[language][n=2] \stopmode \starttext \placecontent \section{\select{language}{English section title}{Dutch section title}} \startplacefigure[title

Re: [NTG-context] Custom list layout with PDF bookmarks

2020-05-16 Thread Henning Hraban Ramm
ut this next line to regain section hyperlinks in the ToC > \setuplist[section][alternative=command,command=\SectionListEntry] > > \starttext > Table of Contents > \placecontent[criterium=all] > \placebookmarks[chapter,subject] Should be \placebookmarks[chapter,section]. Move it in f

[NTG-context] Custom list layout with PDF bookmarks

2020-05-15 Thread Bruce Horrocks
of Contents \placecontent[criterium=all] \placebookmarks[chapter,subject] \chapter{Tufte} \section{Section 1} \input tufte \page \section{Section 2} \input tufte \page \section{Section 3} \input tufte \page \stoptext Thanks in advance. -- Bruce Horrocks Hampshire, UK

Re: [NTG-context] TOC- removing Contents 0

2020-04-22 Thread Henning Hraban Ramm
oC title. (title = unnumbered chapter) If you need chapters without numbers, use \setuphead[chapter][number=no]. If you need some titles to appear in the ToC, you can use \definehead[MyTitle][chapter] etc. You can also replace \completecontent with

[NTG-context] Indenting number in TOC, particular numbering scheme, and other questions

2019-12-02 Thread Daniel Haid
subsubsection, subsubsubsection, subsubsubsubsection, subsubsubsubsubsection, subsubsubsubsubsubsection, subsubsubsubsubsubsubsection},alternative=c] \starttext \placecontent \startA[title={First level}] \startI[title={Second level}] \startS[title={Third level}] \startSS

Re: [NTG-context] List of Symbols/Abbreviations/Glosses with more then two entries

2019-10-11 Thread Thomas Welter
ddsym[t][t][unit={\sunit{second}}, description={Time}, group={latin}] } % Print the List of Symbols with \placelistofsymbols \def\placelistofsymbols{\loadsymbols\ctxlua{userdata.placelistofsymbols()}} \starttext \startfrontmatter \startsubject[title=Content] \placecontent \stopsubject \starts

Re: [NTG-context] Unexpected behavior of subsection labels

2019-10-07 Thread Wolfgang Schuster
odyfont [mainface] \starttext \placecontent \section{wow} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.n

Re: [NTG-context] Custom Footertext

2019-09-29 Thread Jeroen
pcombinedlist[content][level=1] \setupexternalfigures[directory={images}] \startdocument[ metadata:title={MkIV Context Notes}, metadata:subtitle={}, metadata:subject={MkIV Context}, affiliation=Context] \starttext \startfrontmatter \title{MkIV \CONTEXT\ Notes.} \startcolumns[n=2] \input zapf \st

Re: [NTG-context] Headings vs. enumerations

2019-02-01 Thread Clyde Johnston
Thanks Wolfgang. The problem I had with using headers was maintaining the numbers for the headings and clauses. I was able to solve this with the [prefix=yes] option for the itemizegroup. Here is a solution (for anyone else) that achieves what I want: \starttext \placecontent[alternative=c

[NTG-context] Headings vs. enumerations

2019-01-31 Thread Clyde Johnston
headers, whether I can utilise the \starthead in \startitemize or whether I can create a list from the level one headings to create the table of contents. How is best to tackle this problem? Thanks, Clyde MWE #1: \starttext \placecontent[alternative=c] \startitemize[n,repeat

Re: [NTG-context] chapter number

2018-11-06 Thread Andrea Valle
s." (Jeffrey 'The Dude' Lebowski) > On 7 Nov 2018, at 00:03, Tomas Hala wrote: > > Hi Andrea, > > try this: > > %%%% > \starttext > > \startfrontmatter > \placecontent > \page > \chapter{Foreword} > \stopfrontmatter > > \star

Re: [NTG-context] chapter number

2018-11-06 Thread Tomas Hala
Hi Andrea, try this: \starttext \startfrontmatter \placecontent \page \chapter{Foreword} \stopfrontmatter \startbodymatter \chapter{Introduction} \stopbodymatter \startbackmatter \chapter{Something at the end} \stopbackmatter \stoptext Best wishes, Tomáš

Re: [NTG-context] title of index

2018-07-19 Thread Hans van der Meer
Try \placeindex or \placeregister[index] and your own section heading. This > is analagous to \completecontent and \placecontent. dr. Hans van der Meer ___ If your question is of interest to others as well,

Re: [NTG-context] title of index

2018-07-19 Thread Rik Kabel
Wiki. dr. Hans van der Meer Try \placeindex or \placeregister[index] and your own section heading. This is analagous to \completecontent and \placecontent. ___ If your question is of interest to others as well, please

[NTG-context] Align TOC section numbers flushright

2018-06-25 Thread Idris Samawi Hamid ادريس سماوي حامد
, alternative=c, numberalign=flushright] \starttext \placecontent[conversion=R] \startchapter[title={First},reference={}] \input ward \stopchapter \startchapter[title={Second},reference={}] \input ward \stopchapter \startchapter[title={Third},reference={}] \input ward \stopchapter \startchapter[title

Re: [NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-25 Thread Idris Samawi Hamid ادريس سماوي حامد
efault to a monospaced font? You put \placecontent before \starttext but the default fonts are loaded after \starttext. When you now put text in a box before \starttext a monospaced font is loaded as replacement for the missing text font. Ah, new protocol... many thanks. Putting \placecontent or any othe

Re: [NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-25 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد <mailto:idris.ha...@colostate.edu> 25. Juni 2018 um 01:17 On Sun, 24 Jun 2018 17:09:02 -0600, Wolfgang Schuster wrote: 2. Oddity: Why does the TOC in the attached example default to a monospaced font? You put \placecontent before \sta

Re: [NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-25 Thread Wolfgang Schuster
edlist % \setuplist[] [content] [section] [level=section, alternative=c, criterium=local] \setuphead[section][alternative=inmargin] \setupitemize[1][inmargin][stopper=] \placecontent \starttext \startsection[title= First] \input ward \stopsection \startsection[title= Second] \startitemize[r] \sta

Re: [NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-24 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 24 Jun 2018 17:09:02 -0600, Wolfgang Schuster wrote: 2. Oddity: Why does the TOC in the attached example default to a monospaced font? You put \placecontent before \starttext but the default fonts are loaded after \starttext. When you now put text in a box before \starttext

Re: [NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-24 Thread Wolfgang Schuster
edlist % \setuplist[] [content] [section] [level=section, alternative=c, criterium=local] \setuphead[section][alternative=inmargin] \setupitemize[1][inmargin][stopper=] \placecontent \starttext \startsection[title= First] \input ward \stopsection \startsection[title= Second] \startitemize[r] \sta

[NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-24 Thread Idris Samawi Hamid ادريس سماوي حامد
][alternative=inmargin] \setupitemize[1][inmargin][stopper=] \placecontent \starttext \startsection[title= First] \input ward \stopsection \startsection[title= Second] \startitemize[r] \startitem[] \input ward \stopitem \startitem[] \input ward \stopitem \stopitemize \stopsection \stoptext

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 04 Mar 2018 06:29:53 -0700, Hans Hagen <pra...@wxs.nl> wrote: A working minimal example follows. Is this the recommended practice? Can it be streamlined further? : \placecontent \placelist[content] [subject,section,subsection,subsubsection] Hm, toggling lines 12-13

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Hans Hagen
ection,subsection,subsubsection]   [alternative=c,style=bold] \setupcombinedlist[content]   [list={subject,section,subsection,subsubsection}] \placecontent \placelist[content] [subject,section,subsection,subsubsection] \stop \stoptitle \page \startsection[title={Section One},reference={}] new page

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Idris Samawi Hamid ادريس سماوي حامد
edlist[content] [list={subject,section,subsection,subsubsection}] \placecontent \stop \stoptitle \page \startsection[title={Section One},reference={}] new page \page \stopsection \startsection[title={Section Two},reference={}] new page \page \stopsection \startsubject[title={Subject},ref

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Hans Hagen
[title={Table of Contents},reference={}] \start \setupcombinedlist[content] [list={subject,section,subsection,subsubsection},alternative=c,style=bold] \setupinterlinespace[line=1.4ex] \placecontent \stop \stoptitle \page \startsection[title={Section One},reference={}] new page \page \stopsection

[NTG-context] Table of contents: style and subject

2018-03-03 Thread Idris Samawi Hamid ادريس سماوي حامد
show it \starttext % Approach I \starttitle[title={Table of Contents},reference={}] \start \setupcombinedlist[content] [list={subject,section,subsection,subsubsection},alternative=c,style=bold] \setupinterlinespace[line=1.4ex] \placecontent \stop \stoptitle \page \startsection[title={Section One

Re: [NTG-context] TOC and appendices

2018-01-08 Thread Procházka Lukáš Ing .
,subsection,subsubsection,SectionA,SubSectionA,SubSubSectionA}] \starttext \placecontent \startbodymatter %\chapter{Ch} \section{Sec1} In sec 1 \subsection{SSec} \subsubsection{SSSec} \stopbodymatter \startappendices %\let\section=\SectionA %\let\subsection

Re: [NTG-context] TOC and appendices

2018-01-07 Thread Lars
it with main tile chapter before your section, then you'll see yourself: \starttext \placecontent \startbodymatter \section{Sec1} In sec 1 \stopbodymatter \startappendices %\definestructureconversionset[T][][A] %\setupheads[sectionconversionset=T] \chapter{ChapB

Re: [NTG-context] TOC and appendices

2018-01-07 Thread Lars
Hi there, it's because you're trying to place subtitles only. Try it with main tile chapter before your section, then you'll see yourself: \starttext \placecontent \startbodymatter \section{Sec1} In sec 1 \stopbodymatter \startappendices

[NTG-context] TOC and appendices

2018-01-06 Thread Procházka Lukáš Ing .
sections of appendices? Here is my ME: \starttext \placecontent \startbodymatter \section{Sec1} In sec 1 \stopbodymatter \startappendices \definestructureconversionset[T][][A] \setupheads[sectionconversionset=T] \section{SecA} In sec A \stopappendices \stop

Re: [NTG-context] Forced Page Break in a Table of Content

2017-10-19 Thread Antoine Cailliau
does not work on ConTeXt ver: 2017.07.27 16:17 MKIV beta > fmt: 2017.7.28 > > The following minimal document does not have the page break. > > \definelistextra[page][before=\page] >> \starttext >> \placecontent[criterium=all,extras={2=page}] >> \startsec

[NTG-context] Forced Page Break in a Table of Content

2017-10-11 Thread Antoine Cailliau
. \definelistextra[page][before=\page] > \starttext > \placecontent[criterium=all,extras={2=page}] > \startsection[title={A}] > \stopsection > \startsection[title={B}] > \stopsection > \startsection[title={C}] > \stopsection > \stoptext Can anyone help me have the page break in th

[NTG-context] sectionconversionset not working for table of contents

2017-09-18 Thread Stephens, Kenny
] [style=\bigbodyfont\bold, alternative=b,] \setuplist [section] [width=2.0em, margin=2.0em, alternative=c,] \setuplist [subsection] [width=3.0em, margin=4.0em, style=slanted, alternative=c,] \startdocument \startfrontmatter \placecontent[criterium=all] \stopfrontmatter

Re: [NTG-context] Couple of questions

2017-07-28 Thread Gerion Entrup
k] > > \startsectionblockenvironment[bodypart] > \setupheadtext[chapter=Chapter] > \stopsectionblockenvironment > > \startsectionblockenvironment[appendix] > \setupheadtext[chapter=Appendix] > \stopsectionblockenvironment > > \starttext > \startfrontmatter > \c

Re: [NTG-context] Couple of questions

2017-07-28 Thread Pablo Rodriguez
]}, header=empty, page=mychapterpagebreak] \startsectionblockenvironment[bodypart] \setupheadtext[chapter=Chapter] \stopsectionblockenvironment \startsectionblockenvironment[appendix] \setupheadtext[chapter=Appendix] \stopsectionblockenvironment \starttext \startfrontmatter \chapter{Table of

[NTG-context] Odd numbering of

2017-07-26 Thread Sebastian L.
Hi folks, I have a document that is structured like this: \startfrontmatter \placecontent \stopfrontmatter \startbodymatter \startchapter \component whatever.tex \stopchapter \stopbodymatter What I noticed is, that when I build the PDF, open it in Sumatra PDF and check the page

Re: [NTG-context] Table of content in presentation example

2017-05-13 Thread Hans Hagen
On 5/12/2017 10:08 PM, cryo shock wrote: \placecontent \placelist[chapter,section][criterium=all] by default you get a local one (you can also ask for one level up and so) - Hans

Re: [NTG-context] Table of content in presentation example

2017-05-12 Thread cryo shock
shock <axteff...@gmail.com>: > Sorry, me again. After fiddling around I found out why it didn't work: > because \placecontent was *within* the subject that it had to print. Kind > of a Gordian Knot or what was it called...? > I modified my code a little, so that it looks better, b

Re: [NTG-context] Table of content in presentation example

2017-05-12 Thread cryo shock
Sorry, me again. After fiddling around I found out why it didn't work: because \placecontent was *within* the subject that it had to print. Kind of a Gordian Knot or what was it called...? I modified my code a little, so that it looks better, but still one thing is missing... That's what my code

Re: [NTG-context] Table of content in presentation example

2017-05-12 Thread cryo shock
% but don't show it* > ] > > I also added the following line: > > \setuplist[subject][width=2cm] > > The example .tex then starts with > > \starttext > > \setvariables > ... > \startslide > ... > \stopslide > ... > \stoptext > > So I inserte

[NTG-context] Table of content in presentation example

2017-05-12 Thread cryo shock
\stopslide with \placecontent in between: \startslide[title={T.o.c.}] \placecontent \stopslide Yet the rendered PDF shows only a blank page where the TOC is supposed to be. Can anybody tell me what I am doing wrong? Thanks in advance, Sebastian pres-c-slides.tex Description: TeX document pres-p

Re: [NTG-context] A new problem in old TOC

2016-07-18 Thread Ursula Hermann
in old TOC <mailto:ursula.herm...@univie.ac.at> Ursula Hermann 15. Juli 2016 um 19:33 Hello Wolfgang! Yes, I want it both title in header and in the TOC! Ursula Hermann Danksagung \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \setcounter[userp

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Wolfgang Schuster
Ursula Hermann <mailto:ursula.herm...@univie.ac.at> 15. Juli 2016 um 19:33 Hello Wolfgang! Yes, I want it both title in header and in the TOC! Ursula Hermann Danksagung \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \setcounter[userpage][2] The two se

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Ursula Hermann
, alternative=c, interaction=all] \setuphead [chapter] [sectionresetset=, conversion=, number=no, placehead=yes, bodypartlabel=part, sectionsegments=chater:chapter] \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \setcounter[userpage][2] \startchapter [title

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Wolfgang Schuster
le=yes, alternative=c, interaction=all] \setuphead [chapter] [sectionresetset=, conversion=, number=no, placehead=yes, bodypartlabel=part, sectionsegments=chater:chapter] \starttext \placecontent \setupuserpagenumber[numberconv

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Ursula Hermann
] [sectionresetset=, conversion=, number=no, placehead=yes, bodypartlabel=part, sectionsegments=chater:chapter] \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \setcounter[userpage][2] \startchapter [title

Re: [NTG-context] A new problem in old TOC

2016-07-15 Thread Wolfgang Schuster
setset=, conversion=, number=no, placehead=yes, bodypartlabel=part, sectionsegments=chater:chapter] \setuphead [section] [sectionsegments=section:section] \starttext \placecontent \setupuserpagenumber[numberconversion=romannu

[NTG-context] A new problem in old TOC

2016-07-15 Thread Ursula Hermann
=no, placehead=yes, bodypartlabel=part, sectionsegments=chater:chapter] \setuphead [section] [sectionsegments=section:section] \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \setcounter[userpage][2] \startchapter [title={Ursula

[NTG-context] Set Contents

2016-07-13 Thread Fabrice Couvreur
[section] [after={\blank[line]}] \setupcombinedlist [content] [aligntitle=yes, alternative=c] \starttext \title [content] {Sommaire} \placecontent \startchapter[title={First chapter}] \startsection[title={Activity},number=no] \stopsection \startsection[title={Second section

Re: [NTG-context] TOC in bookmarks

2016-07-11 Thread Wolfgang Schuster
shows the text which is set with \setupheadtext[][content=...] \completecontent % Variant 2, you can set your own text for the bookmark % \starttitle[title=\headtext{content},reference=content,bookmark=Table of content] % \placecontent % \stoptitle \dorecurse{10}{\expanded{\chapter{Chapter \recurs

Re: [NTG-context] TOC in bookmarks

2016-07-11 Thread Marcus Vinicius Mesquita
t your own text for the bookmark > % \starttitle[title=\headtext{content},reference=content,bookmark=Table of > content] > % \placecontent > % \stoptitle > > \dorecurse{10}{\expanded{\chapter{Chapter \recurselevel}}} &

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-07-01 Thread Ursula Hermann
Hello Otared! At least the example is this. Now it works perfekt: \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \setcounter[userpage][2] \startchapter [title={Danksagung}] \stopchapter \startchapter [title={Bildbeschreibung der Cover-Grafik

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-07-01 Thread Ursula Hermann
Hello Otared! I have it. I found an mail on the mailinglist . This works. It is: \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \setcounter[userpage][5] \startpart [title={Danksagung}] \stoppart \startchapter [title={Bildbeschreibung der Cover

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-30 Thread Otared Kavian
ula Hermann <ursula.herm...@univie.ac.at> wrote: > > Hello Wolfgang! > > I have now written as you told me. > \starttext > \placecontent > \setupuserpagenumber[numberconversion=romannumerals] > \startchapter > \startchapter[title={Bildbeschreibung der C

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-30 Thread Otared Kavian
not related to the question you are asking, but nevertheless is important in many instances. Best regards: OK > On 28 Jun 2016, at 14:15, Ursula Hermann <ursula.herm...@univie.ac.at> wrote: > > Hello Wolfgang! > > I have now written as you told me. > \s

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-06-30 Thread Ursula Hermann
I have now written as you told me. \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \startchapter \startchapter[title={Bildbeschreibung der Cover-Grafik}] \setupuserpagenumber[numberconversion=numbers] \startchapter [title={Einleitung:"Entwicklung

  1   2   3   4   5   6   >